jQuery(function ($) {
    /** 表单提交* */
    $("#edit_submit").on('click', (function () {
        var id = $('#inputId').val();
        var itemId = $('#inputItemValue').val();
        var explainInfo = $('#inputExplainInfo').val();
        var recordId = $('#inputRecordId').val();
        var param = {
            id: id,
            itemId: itemId,
            recordId: recordId,
            explainInfo: explainInfo
        };
        $.ajax({
            type: "POST",
            async: false,
            dataType: "json",
            url: "/activity/savePerson",
            data: param,
            success: function (res) {
                if (res.code === 1) {
                    window.location.reload();
                }
            }
        });
    }));
});

